package mysql

import "gorm.io/gorm"

type Hotel struct {
	gorm.Model
	Img  string `gorm:"type:varchar(255);not null;index:ip_idx commit:'头像'"`
	Name string `gorm:"type:varchar(20);not null;index:ip_idx commit:'会员名'"`
	Sex  string `gorm:"type:varchar(20);not null;index:ip_idx commit:'性别'"`
	Text string `gorm:"type:varchar(50);not null;index:ip_idx commit:'个性签名'"`
	Tel  string `gorm:"type:varchar(50);not null;index:ip_idx commit:'电话号'"`
}
